<template lang="pug">
dialogModel(
    ref="dialogLoad"
    :title="title"
    width="880"
)
    .cont-wrap
        .pop 请联系相关技术人员获取授权码
        .bot
            el-input(v-model="code" placeholder="请输入授权码")
            el-button(link type="primary" @click="clear()" style="margin-left: 10px") 清空
</template>

<script setup>
import { ref, onMounted } from 'vue'
import dialogModel from '@/components/dialogModel.vue'
import apis from '@/apis'
import { success, confirm } from '@/utils/message'

const title = ref('软件授权（未授权）')
const code = ref('')
const clear = () =>{
    code.value = ''
}
const dialogLoad = ref(null)
const open = (data) =>{
    dialogLoad.value.open()
}
defineExpose({
    open
})

</script>

<style lang="less" scoped>
.cont-wrap{
    height: 140px;
    .pop{
        font-size: 14px;
        color: #333;
        line-height: 50px;
    }
    .bot{
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 20px;
    }
}
</style>